<div class="links form">
	<h2><?php echo __('Add Link'); ?></h2>
	<div class="clear"></div>
	<div class="actions selected">
		<?php $project_id = $this->Form->value('Project.project_id'); if(!empty($project_id)) echo $this->Html->link(__('Cancel'), array('controller'=>'projects','action' => 'view',$project_id));?>
	</div>
	<div class="clear"></div>
<?php echo $this->Form->create('Link');?>
	<fieldset>
	<?php
		echo $this->Form->input('back_links',array('after'=>__('When you enter more than one link, separate them with a semicolon: onet.pl;interia.pl',true)));
		echo $this->Form->input('target_links');
		echo $this->Form->input('display_time');
		echo $this->Form->input('anchor_text');
		echo $this->Form->input('contact_name');
		echo $this->Form->input('contact_email');
		echo $this->Form->input('price_montchly');
		echo $this->Form->input('price_yearly');
		echo $this->Form->input('status',array('type'=>'checkbox','label'=>__('Link status',true),'div'=>false));
		echo $this->Form->input('Domain');
		echo $this->Form->input('Project');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="actions">	
	<?php echo $this->element('/menu/main')?>	
	<?php echo $this->element('/menu/settings')?>	
</div>

